home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 February / maximum-cd-2012-02.iso / DiscContents / TheWagerSetup1.2.exe / Assets / Scripts / [58].lua < prev    next >
Encoding:
Text File  |  2011-03-06  |  759 b   |  18 lines

  1. -- Script [58]
  2. Starting = 0;
  3. SeaEvent = 1;
  4. SetEventTitle("Such Rudeness!");
  5.  
  6. SetStartingEvent(ScriptID, false);
  7.  
  8. CrewID = math.random(0, CrewCount);
  9.  
  10. SetIntFlag(5, CrewID);
  11.  
  12. CrewName = GetCrewName(CrewID);
  13.  
  14. ShowStoryText("Trying to catch an early night's sleep, you suddenly hear squabbling from the upper deck. Irritated, you put on your nightcap and proceed towards the source of the sound. It's " .. CrewName .. ", furious about Mr. Crackers who apparently has been saying the most awful things about his mother. " .. CrewName .. " insists that either the parrot goes or he does.");
  15.  
  16. AddChoice("The parrot goes. That was his last chance to learn manners.", "[59]");
  17. AddChoice(CrewName .. " goes. The parrot sort of has a point.", "[60]");
  18.